import {get, post } from './http'
export const apiLogin = param => post('baseapi/promoterBase/login', param); //登录接口
export const apiIsLogin = param => post('baseapi/token/verifyToken', param); //验证token接口
export const apiUserInfo = param => post('baseapi/Promoteruser/bingWeChatBank', param); //获取银行卡信息接口
export const apiPromoterIndex = param => post('baseapi/Promoteruser/promoterIndex', param); //获取银行卡信息接口
export const apiBindWeChatBankNum = param => post('baseapi/Promoteruser/bindWeChatBankNum', param); //修改银行卡
export const apiPromoterCodeList = param => post('baseapi/promoteruser/promoterCodeList', param); //邀请码列表接口
export const apiMechantList = param => post('baseapi/promoterUser/promoterMerchantList', param); //商户列表接口
export const apiPromoterShopList = param => post('baseapi/promoteruser/promoterShopTaskList', param); //店铺任务接口
export const apiGetPromoterShopList = param => post('baseapi/promoteruser/promoterShopList', param); //店铺任务接口
export const apiShopHistoryDataList = param => post('baseapi/promoteruser/shopHistoryDataList', param); //获取店铺历史接口
export const apiShopHistoryAllDataList = param => post('baseapi/promoteruser/shopHistoryAllDataList', param); //获取店铺所有历史数据概览接口
export const apiPromoterBindList = param => post('baseapi/promoteruser/promoterBindList', param); //获取推广员列表接口
export const apiPromoterData = param => post('baseapi/Promoteruser/promoterData', param); //获取资金流水接口
export const apiPromoterCommissionList = param => post('baseapi/Promoteruser/promoterCommissionList', param); //获取资金流水接口
export const apiPromoterMasterData = param => post('baseapi/Promoteruser/promoterMasterData', param); //获取推广员订单数
export const apiPromoterCreateCode = param => post('baseapi/Promoteruser/promoterCreateCode', param); //生成邀请码
export const apiPromoterLogin = param => post('baseapi/Promoteruser/loginPromoter', param); //强登下级代理
export const apiFindPassword = param => post('baseapi/Promoteruser/findPassword', param); //生成邀请码
export const apiGetPercentageStandard = param => post('baseapi/promoteruser/getPercentageStandard', param); //生成邀请码

export const apiPromoterSaleTask = param => post('baseapi/promoterUser/promoterSaleTask', param); //生成邀请码

export const apiPromoterIncomeList = param => post('baseapi/promoterUser/promoterIncomeList', param); //生成邀请码
export const apiPromoterList = param => post('baseapi/promoterUser/promoterList', param); //推广员下拉框列表
export const apiPromoterEditRemark = param => post('baseapi/promoterUser/promoterEditRemark', param); //修改备注
export const apiMerchantEditRemark = param => post('baseapi/promoterUser/submitRemark', param); //修改商家备注

export const apiInvitationCodeRemark = param => post('baseapi/promoterUser/submitInvitationCodeRemark', param); //修改商家邀请码备注

export const apiPromoterOrderList = param => post('baseapi/promoterUser/promoterOrderList', param); //修改备注

export const apiAddSaleMan = param => post('baseapi/promoterUser/addSaleMan', param); //添加业务员
export const apiSaleManList = param => post('baseapi/promoterUser/saleManList', param); //添加业务员

export const apiGetSaleManList = param => post('baseapi/promoterUser/getSaleManList', param); //添加业务员

export const apiSetSaleMan = param => post('baseapi/promoterUser/setSaleMan', param); //添加业务员

export const apiSetSaleManScale = param => post('baseapi/promoterUser/setSaleManScale', param); //添加业务员
export const apiGetAllShopList = param => post('baseapi/promoterUser/getAllShopList', param); //添加业务员

export const apiPromoterDirectShopTaskList = param => post('baseapi/promoterUser/promoterDirectShopTaskList', param); //间接店铺收益

export const apiPromotionPercentageList = param => post('baseapi/promoterUser/promotionPercentageList', param); //提成策略列表
export const apiPromotionPercentageSchemeList = param => post('baseapi/promoterUser/promotionPercentageSchemeList', param); //方案列表
export const apiAddPromotionPercentage = param => post('baseapi/promoterUser/addPromotionPercentage', param); //新增
export const apiEditPromotionPercentage = param => post('baseapi/promoterUser/editPromotionPercentage', param); //编辑
export const apiDeletePromotionPercentage = param => post('baseapi/promoterUser/deletePromotionPercentage', param); //删除
export const apiCopyPromotionPercentageScheme = param => post('baseapi/promoterUser/copyPromotionPercentageScheme', param); //复制

export const apiPromoterPercentageScheme = param => post('baseapi/promoterUser/promoterPercentageScheme', param); //推广策略列表
export const apiSetPromoterPercentage = param => post('baseapi/promoterUser/setPromoterPercentage', param); //设置策略方案

export const apiFeeList = param => post('baseapi/promoterUser/feeList', param); //推广策略列表
export const apiPromoterFeeList = param => post('baseapi/promoterUser/promoterFeeList', param); //设置策略方案
export const apiCopyFeeScheme = param => post('baseapi/promoterUser/copyFeeScheme', param); //设置策略方案

export const apiAddFee = param => post('baseapi/promoterUser/addFee', param); //推广策略列表
export const apiEditFee = param => post('baseapi/promoterUser/editFee', param); //设置策略方案
export const apiDeleteFee = param => post('baseapi/promoterUser/deleteFee', param); //设置策略方案

export const apiMerchantFeeScheme = param => post('baseapi/promoterUser/merchantFeeScheme', param); //设置策略方案
export const apiSetMerchantFee = param => post('baseapi/promoterUser/setMerchantFee', param); //设置策略方案

export const apiCreateFeeScheme = param => post('baseapi/promoterUser/createFeeScheme', param); //设置策略方案

export const apiAddPromoter = param => post('baseapi/promoterUser/addPromoter', param); //新增推广员

export const apiGetPromotionCostScheme = param => post('baseapi/promoterUser/getPromotionCostScheme', param); //新增推广员

export const apiCreatePromotionCostScheme = param => post('baseapi/promoterUser/createPromotionCostScheme', param); //创建推广员默认推广价格方案

export const apiDeletePromotionCostScheme = param => post('baseapi/promoterUser/deletePromotionCostScheme', param); //删除推广价格方案

export const apiChangePromotionCostScheme = param => post('baseapi/promoterUser/changePromotionCostScheme', param); //修改推广价格方案名称

export const apiChangeFeeScheme = param => post('baseapi/promoterUser/changeFeeScheme', param); //修改商家价格方案名称

export const apiDeleteFeeScheme = param => post('baseapi/promoterUser/deleteFeeScheme', param); //删除商家价格方案

export const apiGenerateCode = param => post('baseapi/Promoteruser/applyForShareCode', param); //生成永久邀请码
